package com.steakliu.sun.flow;

import com.alibaba.fastjson.JSONObject;
import com.steakliu.sun.flow.api.FlowControlPostProcessor;
import com.steakliu.sun.protocol.MsgHeader;
import com.steakliu.sun.spi.annotation.Join;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 功能说明：
 * <p>
 * Original @Author: steakliu-刘牌, 2023-01-31  20:44
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
@Join
public class PrintFlowControlPostProcessor implements FlowControlPostProcessor {

    private final Logger LOGGER = LoggerFactory.getLogger(PrintFlowControlPostProcessor.class);

    @Override
    public void postProcess(MsgHeader msgHeader) {
       // LOGGER.info("print flow control : {}", JSONObject.toJSONString(msgHeader));
    }
}
